/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;  

public abstract class DAOFactory {
    public static final int MYSQL = 1;
    public static final int ORACLE = 2;
    
    public static DAOFactory getInstance(int dataSource){
        switch (dataSource){
            case MYSQL: return new MySQLDAOFactory();
        }
        return null;
    }
    public abstract ProcessDAO createProcessDAO();
    public abstract ExecSeqDAO createExecSeqDAO();

    public abstract ResourceDeclarationDAO createResourceDeclarationSeqDAO();
    public abstract SystemConfigurationDAO createSystemConfigurationDAO();

}
